Python plugin: ship pyc files only
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Currently snapcraft bytecompiles .py files as part of the Python plugin, this is done to fasten startup time of snaps. Doing that increases the size of the snap, something that could be avoided.
The snap should only ship pyc file and remove .py files.
How to achieve that ?
1. pip install --no-compile
2. python3 -m compileall -b
3. find . -name '*.py' -type f -exec rm {} \;
Evaluation history
No evaluation history available.